projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ef27a54
)
(check_executable): Use euidaccess, not eaccess.
author
Richard M. Stallman
<rms@gnu.org>
Fri, 28 Jun 1996 07:05:19 +0000
(07:05 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Fri, 28 Jun 1996 07:05:19 +0000
(07:05 +0000)
src/fileio.c
patch
|
blob
|
history
diff --git
a/src/fileio.c
b/src/fileio.c
index f5a800f6c16697d8521aac9b9b6e4b7feb952df4..7df85fc78a16f94e179703abb20b0cd8de5b35f3 100644
(file)
--- a/
src/fileio.c
+++ b/
src/fileio.c
@@
-2544,8
+2544,8
@@
check_executable (filename)
|| (st.st_mode & S_IFMT) == S_IFDIR);
#endif /* not WINDOWSNT */
#else /* not DOS_NT */
-#ifdef HAVE_EACCESS
- return (eaccess (filename, 1) >= 0);
+#ifdef HAVE_E
UID
ACCESS
+ return (e
uid
access (filename, 1) >= 0);
#else
/* Access isn't quite right because it uses the real uid
and we really want to test with the effective uid.